<%--
  Created by IntelliJ IDEA.
  User: 小柒的Java
  Date: 2021/5/6
  Time: 20:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
        <%
            HttpSession session1 = request.getSession();
            int sum = (int) session1.getAttribute("sum");
            if (sum ==45){
               response.getWriter().println("注册成功");
            }else {
                response.getWriter().println("注册失败");
            }
        %>
</body>
</html>
